package com.quarkus.resource;

import io.quarkus.vertx.web.Param;
import io.quarkus.vertx.web.Route;
import io.quarkus.vertx.web.RouteBase;
import io.vertx.core.http.HttpMethod;
import io.vertx.ext.web.RoutingContext;

@RouteBase(path = "vertx")
public class ReactiveResource {


    @Route(methods = HttpMethod.GET)
    public void  hello(RoutingContext context, @Param String name) {

        System.out.println(name);

        context.response().end("success");
    }
}
